package com.heima.behavior.service;

import com.heima.model.behavior.LikesBehaviorDto;
import com.heima.model.behavior.ReadBehaviorDto;
import com.heima.model.behavior.UnLikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;

/**
 * create 2023/6/27 20:53
 */


public interface ApBehaviorService {
    /**
     * 点赞或取消点赞文章
     * @param dto
     * @return
     */
    ResponseResult like(LikesBehaviorDto dto);

    ResponseResult read(ReadBehaviorDto dto);

    ResponseResult unLike(UnLikesBehaviorDto dto);
}
